<? $this->render('header') ?>
<h4>插入数据及表单验证</h4>
<h5 style="color:red">表名：egp_user</h5>
<form method="post" action="">
<table border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
  <tr>
    <th bgcolor="#EEEEEE">username</th>
    <td bgcolor="#FFFFFF"><input type="text" size="20" name="username" /> <font color="red">*</font></td>
  </tr>
  <tr>
    <th bgcolor="#EEEEEE">nickname</th>
    <td bgcolor="#FFFFFF"><input type="text" size="25" name="nickname" /></td>
  </tr>
  <tr>
    <th bgcolor="#EEEEEE">homepage</th>
    <td bgcolor="#FFFFFF"><input type="text" size="40" name="homepage" /> <font color="red">*</font></td>
  </tr>
  <tr>
    <th bgcolor="#EEEEEE">&nbsp;</th>
    <td bgcolor="#FFFFFF">
      <input type="submit" name="Submit" value="提交" />    </td>
  </tr>
</table>
</form>
<p><a href="<?=$this->url(array('controller' => 'example', 'action' => 'index'), true)?>">返回示例首页</a></p>
<? $this->render('footer') ?>